//
//  SimpleActionSheetView.h
//  RSW.IOS
//
//  Created by zhaiqiuqiu on 17/1/3.
//  Copyright © 2017年 com.xtion.crm. All rights reserved.
//

#import <UIKit/UIKit.h>

@class SimpleActionSheetView;

@protocol SimpleActionSheetViewDelegate <NSObject>

@optional

-(void)actionSheetView:(SimpleActionSheetView*)actionSheetView didSelectRowAtIndexPath:(NSIndexPath *)indexPath;

-(void)willDismissActionSheetView:(SimpleActionSheetView*)actionSheetView;

@end

@interface SimpleActionSheetView : UIView

- (id)initWithTitle:(NSString *)title data:(NSArray *)data delegate:(id<SimpleActionSheetViewDelegate>)delegate;

+(void)actionSheetViewWithTitle:(NSString *)title data:(NSArray *)data delegate:(id<SimpleActionSheetViewDelegate>)delegate;

- (void)show;
@end
